package com.heima.test4;

public class Teacher extends Person{
    private int tAge;
    private String tzy;

    public Teacher() {
    }

    public Teacher(String name, int age, char gender, String id, int tAge, String tzy) {
        super(name, age, gender, id);
        this.tAge = tAge;
        this.tzy = tzy;
    }

    public int gettAge() {
        return tAge;
    }

    public void settAge(int tAge) {
        this.tAge = tAge;
    }

    public String getTzy() {
        return tzy;
    }

    public void setTzy(String tzy) {
        this.tzy = tzy;
    }
}
